﻿package Welsy4.Connect.events
{
	import flash.net.URLVariables;
	
	/**
	 * ...
	 * @author DefaultUser (Tools -> Custom Arguments...)
	 */
	//import com.adobe.cairngorm.control.CairngormEvent;
	
	
	
	public class PermissionEvent extends ChainEvent
	{
		public static var SET_MEETING_PUBLIC:String = "SET_MEETING_PUBLIC";
		public static var SET_MEETING_PRIVATE:String = "SET_MEETING_PRIVATE";
		public static var ALLOW_USER_TO_MEETING:String = "ALLOW_USER_TO_MEETING";
		public static var ADD_MEETING_PARTICIPANT:String = "ADD_MEETING_PARTICIPANT";
		public static var REMOVE_MEETING_PARTICIPANT:String = "REMOVE_MEETING_PARTICIPANT";
		
		public var permissionObject:Object;
		
		public function PermissionEvent(type:String, request:URLVariables=null, permissionObject:Object=null) 
		{
			    if (permissionObject != null) {
					this.permissionObject = permissionObject;
				}
				super(type, request);
			
		}
		
	}
	
}